/**
 * An enum, describing current application mode
 */
package db21;

/**
 * A current application mode data
 * @author Mamontov
 */
public enum ApplicationMode {
    MainForm(1, "Главное окно"),
    EducationalResources(2, "Обучающие ресурсы"),
    Collections(3, "Коллекции"),
    SeekResources(4, "Поиск"),
    Competences(5, "Компетенции"),
    Subjects(6, "Предметы"),
    Themes(7, "Темы"),
    Console(8, "Консоль")
    ;
    
    private  int m_mode = 0;
    private  String m_title;
    
    ApplicationMode(int mode, String title) {
        this.m_mode = mode;
        this.m_title = title;
    }
    
    public String title() {
        return this.m_title;
    }
    
    public int mode() {
        return this.m_mode;
    }
    
}
